package com.zjlp.seproject.service.impl;

import com.zjlp.seproject.mapper.ProfileMapper;
import com.zjlp.seproject.pojo.Profile;
import com.zjlp.seproject.service.ProfileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProfileServiceImpl implements ProfileService {
    @Autowired
    private ProfileMapper profileMapper;

    @Override
    public Integer setProfile(Profile profile) {
        return profileMapper.setProfile(profile);
    }

    @Override
    public Profile getProfile(Integer uid) {
        return profileMapper.getProfile(uid);
    }
}
